package com.glp.dao.custom;

import com.glp.dao.generator.GlpUserMapper;
import com.glp.pojo.User;
import com.glp.pojo.dto.UserDTO;

import java.util.List;

public interface UserMapper extends GlpUserMapper {
    User selectByLoginName(String loginName);

    List<UserDTO> selectByRoleId(int roleId);

    List<User> selectAll();

}